package com.meituan.verintreport.db.dto;

public class FormsDto {
    private Integer formKey;

    private Integer source;

    private Integer formId;

    private Integer currentRevisionId;

    private Integer formTypeId;

    private String formTitle;

    public Integer getFormKey() {
        return formKey;
    }

    public void setFormKey(Integer formKey) {
        this.formKey = formKey;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getFormId() {
        return formId;
    }

    public void setFormId(Integer formId) {
        this.formId = formId;
    }

    public Integer getCurrentRevisionId() {
        return currentRevisionId;
    }

    public void setCurrentRevisionId(Integer currentRevisionId) {
        this.currentRevisionId = currentRevisionId;
    }

    public Integer getFormTypeId() {
        return formTypeId;
    }

    public void setFormTypeId(Integer formTypeId) {
        this.formTypeId = formTypeId;
    }

    public String getFormTitle() {
        return formTitle;
    }

    public void setFormTitle(String formTitle) {
        this.formTitle = formTitle == null ? null : formTitle.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", formKey=").append(formKey);
        sb.append(", source=").append(source);
        sb.append(", formId=").append(formId);
        sb.append(", currentRevisionId=").append(currentRevisionId);
        sb.append(", formTypeId=").append(formTypeId);
        sb.append(", formTitle=").append(formTitle);
        sb.append("]");
        return sb.toString();
    }
}